package com.wj.auth.infrastrcture.entity;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * auth_client 实体类
 * Wed Nov 18 14:39:12 CST 2020 wj
 */ 

@Entity
@Table(name = "auth_client", schema = "cloud-demo", catalog = "")
public class ClientEntity {
	
	/**
	* id
	*/ 
	@ApiModelProperty(value = "id")
	private Integer id;
	
	/**
	* 服务编码
	*/ 
	@ApiModelProperty(value = "服务编码")
	private String code;
	
	/**
	* 服务密钥
	*/ 
	@ApiModelProperty(value = "服务密钥")
	private String secret;
	
	/**
	* 服务名
	*/ 
	@ApiModelProperty(value = "服务名")
	private String name;
	
	/**
	* 是否锁定
	*/ 
	@ApiModelProperty(value = "是否锁定")
	private String locked;
	
	/**
	* 描述
	*/ 
	@ApiModelProperty(value = "描述")
	private String description;
	
	/**
	* 创建时间
	*/ 
	@ApiModelProperty(value = "创建时间")
	private Date crtTime;
	
	/**
	* 创建人
	*/ 
	@ApiModelProperty(value = "创建人")
	private String crtUser;
	
	/**
	* 创建人姓名
	*/ 
	@ApiModelProperty(value = "创建人姓名")
	private String crtName;
	
	/**
	* 创建主机
	*/ 
	@ApiModelProperty(value = "创建主机")
	private String crtHost;
	
	/**
	* 更新时间
	*/ 
	@ApiModelProperty(value = "更新时间")
	private Date updTime;
	
	/**
	* 更新人
	*/ 
	@ApiModelProperty(value = "更新人")
	private String updUser;
	
	/**
	* 更新姓名
	*/ 
	@ApiModelProperty(value = "更新姓名")
	private String updName;
	
	/**
	* 更新主机
	*/ 
	@ApiModelProperty(value = "更新主机")
	private String updHost;
	
	/**
	* attr1
	*/ 
	@ApiModelProperty(value = "attr1")
	private String attr1;
	
	/**
	* attr2
	*/ 
	@ApiModelProperty(value = "attr2")
	private String attr2;
	
	/**
	* attr3
	*/ 
	@ApiModelProperty(value = "attr3")
	private String attr3;
	
	/**
	* attr4
	*/ 
	@ApiModelProperty(value = "attr4")
	private String attr4;
	
	/**
	* attr5
	*/ 
	@ApiModelProperty(value = "attr5")
	private String attr5;
	
	/**
	* attr6
	*/ 
	@ApiModelProperty(value = "attr6")
	private String attr6;
	
	/**
	* attr7
	*/ 
	@ApiModelProperty(value = "attr7")
	private String attr7;
	
	/**
	* attr8
	*/ 
	@ApiModelProperty(value = "attr8")
	private String attr8;

	@Id
	@Column(name="id")
	public Integer getId(){
		return id;
	}

	public void setId(Integer id){
		this.id = id;
	}

	@Column(name="code")
	public String getCode(){
		return code;
	}

	public void setCode(String code){
		this.code = code;
	}

	@Column(name="secret")
	public String getSecret(){
		return secret;
	}

	public void setSecret(String secret){
		this.secret = secret;
	}

	@Column(name="name")
	public String getName(){
		return name;
	}

	public void setName(String name){
		this.name = name;
	}

	@Column(name="locked")
	public String getLocked(){
		return locked;
	}

	public void setLocked(String locked){
		this.locked = locked;
	}

	@Column(name="description")
	public String getDescription(){
		return description;
	}

	public void setDescription(String description){
		this.description = description;
	}

	@Column(name="crt_time")
	public Date getCrtTime(){
		return crtTime;
	}

	public void setCrtTime(Date crtTime){
		this.crtTime = crtTime;
	}

	@Column(name="crt_user")
	public String getCrtUser(){
		return crtUser;
	}

	public void setCrtUser(String crtUser){
		this.crtUser = crtUser;
	}

	@Column(name="crt_name")
	public String getCrtName(){
		return crtName;
	}

	public void setCrtName(String crtName){
		this.crtName = crtName;
	}

	@Column(name="crt_host")
	public String getCrtHost(){
		return crtHost;
	}

	public void setCrtHost(String crtHost){
		this.crtHost = crtHost;
	}

	@Column(name="upd_time")
	public Date getUpdTime(){
		return updTime;
	}

	public void setUpdTime(Date updTime){
		this.updTime = updTime;
	}

	@Column(name="upd_user")
	public String getUpdUser(){
		return updUser;
	}

	public void setUpdUser(String updUser){
		this.updUser = updUser;
	}

	@Column(name="upd_name")
	public String getUpdName(){
		return updName;
	}

	public void setUpdName(String updName){
		this.updName = updName;
	}

	@Column(name="upd_host")
	public String getUpdHost(){
		return updHost;
	}

	public void setUpdHost(String updHost){
		this.updHost = updHost;
	}

	@Column(name="attr1")
	public String getAttr1(){
		return attr1;
	}

	public void setAttr1(String attr1){
		this.attr1 = attr1;
	}

	@Column(name="attr2")
	public String getAttr2(){
		return attr2;
	}

	public void setAttr2(String attr2){
		this.attr2 = attr2;
	}

	@Column(name="attr3")
	public String getAttr3(){
		return attr3;
	}

	public void setAttr3(String attr3){
		this.attr3 = attr3;
	}

	@Column(name="attr4")
	public String getAttr4(){
		return attr4;
	}

	public void setAttr4(String attr4){
		this.attr4 = attr4;
	}

	@Column(name="attr5")
	public String getAttr5(){
		return attr5;
	}

	public void setAttr5(String attr5){
		this.attr5 = attr5;
	}

	@Column(name="attr6")
	public String getAttr6(){
		return attr6;
	}

	public void setAttr6(String attr6){
		this.attr6 = attr6;
	}

	@Column(name="attr7")
	public String getAttr7(){
		return attr7;
	}

	public void setAttr7(String attr7){
		this.attr7 = attr7;
	}

	@Column(name="attr8")
	public String getAttr8(){
		return attr8;
	}

	public void setAttr8(String attr8){
		this.attr8 = attr8;
	}
}

